package com.hbnu.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
@Data
@EqualsAndHashCode(callSuper = false)
public class Authority implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键 权限编号
     */
    @ApiModelProperty(value = "权限编号")
    @TableId(value = "RolesID")
    private String RolesID;

    /**
     * 解释
     */
    @ApiModelProperty(value = "权限等级")
    @TableField("text")
    private String text;
}
